function Catalogue() {
	this.catalogue;
	this.nombreSejour;
}

Catalogue.prototype.init = function( datas ) {

	if( typeof datas == "undefined" ) return this;

	this.catalogue = [];

	var that = this;

	angular.forEach(datas, function(sejour, key) {

		that.catalogue.push( new ResumeSejour().init( sejour ) );
	}, that)

	this.compteurSejour();

	return this;
};

Catalogue.prototype.compteurSejour = function() {
	return this.nombreSejour = this.catalogue.length + " " + ( parseInt(this.catalogue.length) > 1 ? "séjours" : "séjour" );
}
